#ifndef __COMPARE_H_
#define __COMPARE_H_

typedef struct __compare_note_ {
  double freq;
  unsigned char octa;
  const char* name;
} CompareNote;

typedef struct __compare_info_ {
  CompareNote prev;
  CompareNote curr;
  CompareNote next;
} CompareInfo;

char compare_detect(double freq, CompareInfo* info);

#endif
